package edu.xhxy;

import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapreduce.Mapper;
import java.io.IOException;

public class TokenizerMapper extends Mapper<Object, Text,Text,Text> {
    private static Text line = new Text();
    @Override
    protected void map(Object key, Text value, Mapper<Object, Text, Text, Text>.Context context) throws IOException, InterruptedException {
        line = value;
        context.write(line, new Text(""));
    }
}
